package com.hskn.hss;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableAsync
@EnableSwagger2
@SpringBootApplication
@MapperScan("com.hskn.hss.module.*.mapper")
public class HssApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(HssApiApplication.class, args);
        System.out.println( " ██      ██   ██████████   ██   ██        ██\n" +
                            "░██     ░██  ░░░░░██░░░   ░██  ██        ░██\n" +
                            "░██     ░██      ░██      ░██ ██         ░██\n" +
                            "░██████████      ░██      ░████          ░██\n" +
                            "░██░░░░░░██      ░██      ░██░██         ░██\n" +
                            "░██     ░██      ░██      ░██░░██    ██  ░██\n" +
                            "░██     ░██      ░██      ░██ ░░██  ░░█████ \n" +
                            "░░      ░░       ░░       ░░   ░░    ░░░░░  \n");
        System.out.println("(♥◠‿◠)ﾉﾞ  启动成功   ლ(´ڡ`ლ)ﾞ  ");
    }

}
